package com.hzj.mapper;

import com.hzj.pojo.VoteOption;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hzj
 * @since 2021-03-19
 */
@Repository
public interface VoteOptionMapper extends BaseMapper<VoteOption> {
    List<VoteOption> countVo(Long vsId);

    int insertatch(List<VoteOption> list);

    List<Map<String, String>> checkNumTicket(int vsid);

}
